package com.guyan.vo;

import lombok.Getter;

/**
 * ClassName： LayuiVo
 * Date： 2021/6/16 16:03
 *
 * @author 孤焰
 * @version 1.0
 **/

@Getter
public class LayuiVo {
    private Integer code;
    private String msg;
    private Long count;
    private Object data;

    public static LayuiVo success(Long count, Object data) {
        LayuiVo layuiVo = new LayuiVo();
        layuiVo.code = 0;
        layuiVo.msg = "成功";
        layuiVo.count = count;
        layuiVo.data = data;

        return layuiVo;
    }
}
